CFLAG= -std=c++11 -I ../../../build/release-install-cpp11/include/
LFLAG= -L../../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -lpthread -ljsoncpp
all:server client registry
server:server_provider.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
client:client_test.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
registry:server_registry.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
.PHONY:clean
clean:
	rm -rf server client registry